package com.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @ProjectName: spring-demo-boot
 * @Package: com.demo.controller
 * @ClassName: HelloController
 * @Author: yangyl
 * @CreateDate: 2024/5/7 20:01
 */
@RestController
@RequestMapping(path = "/hello")
public class HelloController {
    
    @RequestMapping(path = "/sayHello")
    public String hello() {
        return "hello,v2";
    }
}
